Predicting Last - Touch References under Optimal Replacement
نویسنده
چکیده
Effective cache replacement is becoming an increasingly important issue in cache hierarchy design as large set-associative caches are widely used in high-performance systems. This paper proposes a novel approach to approximate the decisions made by an optimal replacement algorithm (OPT) using last-touch prediction. The central idea is to identify, via prediction, the final reference to a cache block before the block would be evicted under OPT—the “OPT last touch”. Given perfect prediction, replacing the referenced block immediately after each OPT last touch would give optimal replacement behavior. This paper evaluates the feasibility of this approach by studying, at a fundamental level, the predictability of OPT last-touch references, and the applicability of these predictions to improving replacement decisions. We show that trace-based predictors, previously proposed for LRU lasttouch prediction, can predict OPT last touches as well. We enhance these predictors using future information, but find that their performance degrades significantly as cache size and associativity increase. We introduce a new class of predictors based on last-touch history, which significantly outperform trace-based predictors on large set-associative secondary caches. Across eight SPEC CPU2000 benchmarks on a 1MB 16-way associative secondary cache, an idealized history-based OPT last-touch predictor can potentially eliminate 39% of LRU misses—eliminating 63% of the gap between LRU and OPT.
منابع مشابه
Enhancing LTP-Driven Cache Management Using Reuse Distance Information
Traditional caches employ the LRU management policy to drive replacement decisions. However, previous studies have shown LRU can perform significantly worse than the theoretical optimum, OPT [1]. To better match OPT, it is necessary to aggressively anticipate the future memory references performed in the cache. Recently, several researchers have tried to approximate OPT management by predicting...
متن کاملOptimal replacement policies for non-uniform cache objects with optional eviction
Replacement policies for general caching applications and Web caching in particular have been discussed extensively in the literature. Many ad-hoc policies have been proposed that attempt to take adavantage of the retrieval latency of documents, their size, the popularity of references and temporal locality of requested documents. However, the problem of finding optimal replacement policies und...
متن کاملCultural Exophoric References in English Textbooks Used at Four Common English Textbooks Used at Iranian English Language Institutes: A Comparative Discursive Study of the Degree of Referential Burden
The present study is an attempt to find out cultural exophoric references in four common English textbooks, namely Touch Stone, American File, Top Notch, and Total English series used at Iranian English language institutes and to compare the frequency of occurrence of such references in these coursebooks. In order to compare cultural exophoric references used in these coursebooks, the researche...
متن کاملWhat utility is there in distinguishing between active and passive touch ?
Note: Since this paper was presented at the 1984 Psychonomics Society meeting, two publications have expressed some of the ideas presented here. The 1986 chapter by Loomis and Lederman has a section on categories of tactual perception and another on modes of touch. The essay by Loomis (1992) elaborates on the last section of this talk with its discussion of the necessity of an internal model in...
متن کاملCodifying A Proper Mathematical Model for Predicting The Replace Age of The Tractors Used in Shahid Beheshti Cultivation Firm of Dezfoul
Predicting the maintenance and management costs and replacement age of tractors in agricultural mechanized units, is important from several points. So, doing a timely agricultural operations, more accurate measure of the amount of income including the cost of these items , determining the useful life of old tractors , replacement age, cost of the process changes and the possibility of examinin...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002